import Curd from './base/curd'
import auth from './auth'
import sysDict from './sysDict'
import bookChapter from './bookChapter'
import file from './file'
import video from './video'
import mediaStatistics from './mediaStatistics'
import userMediaFavor from './userMediaFavor'
import channel from './channel'
import goods from './goods'

const api = {
	auth,
	sysDict,
	sysDictItem: new Curd("hgzx/sys-dict-item"),
	media: new Curd("media"),
	mediaStatistics,
	audio: new Curd("audio"),
	video,
	videoItem: new Curd("hgzx/video-item"),
	book: new Curd("book"),
	bookChapter,
	bookAudio: new Curd("book-audio"),
	file,
	album: new Curd("album"),
	userMediaFavor,
	bookmark: new Curd("bookmark"),
	bookmarkItem: new Curd("bookmark-item"),
	user: new Curd("user"),
	role: new Curd("role"),
	menu: new Curd("menu"),
	api: new Curd("api"),
	channel,
	goods
}

export default api;
